Skip to content

Conversation

@Flo0806
Copy link
Collaborator

@Flo0806 Flo0806 commented Jan 29, 2026

resolves: #80


Summary

  • add bookmarks button to header to select/clear bookmark
  • add bookmark button left to "code" button to set/unset a package as bookmark
  • use localStorage to hold bookmarks
  • write some tests

Screenshot

image

@vercel
Copy link

vercel bot commented Jan 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment Jan 30, 2026 8:13am
npmx.dev Ready Ready Preview, Comment Jan 30, 2026 8:13am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
npmx-lunaria Ignored Ignored Jan 30, 2026 8:13am

Request Review

@Flo0806 Flo0806 changed the title feat: bookmarks for packages feat: bookmarks to pin packages Jan 29, 2026
@github-actions
Copy link

github-actions bot commented Jan 29, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
lunaria/files/de-DE.json Localization changed, will be marked as complete. 🔄️
lunaria/files/en-US.json Source changed, localizations will be marked as outdated.
lunaria/files/es-419.json Localization changed, will be marked as complete. 🔄️
lunaria/files/es-ES.json Localization changed, will be marked as complete. 🔄️
lunaria/files/fr-FR.json Localization changed, will be marked as complete. 🔄️
lunaria/files/it-IT.json Localization changed, will be marked as complete. 🔄️
lunaria/files/ja-JP.json Localization changed, will be marked as complete. 🔄️
lunaria/files/zh-CN.json Localization changed, will be marked as complete. 🔄️
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

:class="
isBookmarked
? 'i-carbon-bookmark-filled text-accent'
: 'i-carbon-bookmark text-fg-subtle hover:text-fg'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use : => i-carbon:

>
<span
class="w-[1em] h-[1em] shrink-0"
:class="hasBookmarks ? 'i-carbon-bookmark-filled' : 'i-carbon-bookmark'"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

/>
<span class="hidden sm:inline">{{ $t('header.bookmarks') }}</span>
<span
class="hidden sm:inline i-carbon-chevron-down w-3 h-3 transition-transform duration-200"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: package bookmarks

2 participants